using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 公众平台access_token存储
    /// </summary>
    public class dt_weixin_access_token
    {
        /// <summary>
        /// 公众平台access_token存储
        /// </summary>
        public dt_weixin_access_token()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 公众账户ID
        /// </summary>
        public System.Int32? account_id { get; set; }

        /// <summary>
        /// access_token值
        /// </summary>
        public System.String access_token { get; set; }

        /// <summary>
        /// 有效期(秒)
        /// </summary>
        public System.Int32? expires_in { get; set; }

        /// <summary>
        /// 总数
        /// </summary>
        public System.Int32? count { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }
    }
}